﻿<UserControl x:Class="Hayabusa._Login.LoginView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:cal="http://www.caliburnproject.org"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Width="784" Height="425">
    <Grid Width="784" Height="425" Background="#FF4C5F81">
        <Rectangle Height="212" HorizontalAlignment="Left" Margin="178,42,0,0" Stroke="#FFCED4DF" VerticalAlignment="Top" Width="340">
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFFCFCFC" Offset="0" />
                    <GradientStop Color="#FFCED4DF" Offset="1" />
                    <GradientStop Color="#FFD7DCE5" Offset="0.525" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <Label Content="Utilisateur:" Height="23" HorizontalAlignment="Left" Margin="203,109,0,0" VerticalAlignment="Top" Width="99" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="308,109,0,0" VerticalAlignment="Top" Width="179" Text="{Binding User}" />
        <Label Content="Mot de passe:" Height="26" HorizontalAlignment="Left" Margin="203,152,0,0" VerticalAlignment="Top" Width="99" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="308,152,0,0" VerticalAlignment="Top" Width="179" Text="{Binding Password}" />
        <Button Content="Connexion" Height="23" HorizontalAlignment="Left" Margin="203,208,0,0" VerticalAlignment="Top" Width="136" cal:Message.Attach="Connexion" />
        <Rectangle Height="212" HorizontalAlignment="Right" Margin="0,42,178,0" Stroke="#FFCED4DF" VerticalAlignment="Top" Width="77">
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFFCFCFC" Offset="0" />
                    <GradientStop Color="#FFCED4DF" Offset="1" />
                    <GradientStop Color="#FFD7DCE5" Offset="0.525" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <Image Height="48" HorizontalAlignment="Right" Margin="0,66,193,0" Stretch="Fill" VerticalAlignment="Top" Width="48" Source="/Hayabusa;component/Resources/aide.png" />
        <Button Content="Aide" Height="33" HorizontalAlignment="Left" Margin="543,120,0,0" VerticalAlignment="Top" Width="48" />
        <Label Height="28" HorizontalAlignment="Left" Margin="178,295,0,0" VerticalAlignment="Top" Width="340" Content="{Binding Message}" Foreground="Red" />
    </Grid>
</UserControl>
